home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / utils / file / managers / mc-3.2 / mc-3 / mc-3.2.1 / xv / xvmain.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-05-17  |  1.8 KB  |  44 lines

  1. #ifndef __XVMAIN_H
  2. #define __XVMAIN_H
  3.  
  4. #ifdef HAVE_XVIEW
  5. #   undef HAVE_LIBGPM
  6.     
  7. #   define APP_DEFAULTS "/usr/X11/lib/X11/app-defaults/Mxc"
  8.  
  9. #   include "xvkeydata.h"
  10.     int xtoolkit_init (int *, char **);
  11.     int xtoolkit_end (void);
  12.     void xv_action_icons (void);
  13.     void xv_dispatch_a_bit (void);
  14.     void xv_dispatch_something (void);
  15. #   include "dlg.h"
  16. #   include "widget.h"
  17.  
  18.     int xvrundlg_event (Dlg_head *h);
  19.     void xv_post_proc (Dlg_head *h, void (*callback)(void *), void *);
  20.     widget_data x_create_panel_container (int which);
  21.     widget_data x_get_parent_object (Widget *w, widget_data wdata);
  22.     int x_container_get_id (widget_data wcontainer);
  23.     void x_panel_container_show (widget_data wdata);
  24.     widget_data xtoolkit_create_dialog (Dlg_head *h);
  25.     widget_data xtoolkit_get_main_dialog (Dlg_head *h);
  26.     void xtoolkit_kill_dialog (Dlg_head *h); /* When we do not call run_dlg */
  27.  
  28.     /* Prototypes for functions required by src/widget.c */
  29.     int xv_create_button (Dlg_head *h, widget_data parent, WButton *b);
  30.     void x_button_set (WButton *b, char *text);
  31.     int x_create_radio (Dlg_head *h, widget_data parent, WRadio *r);
  32.     int x_create_check (Dlg_head *h, widget_data parent, WCheck *c);
  33.     int x_create_label (Dlg_head *h, widget_data parent, WLabel *l);
  34.     int x_create_input (Dlg_head *h, widget_data parent, WInput *in);
  35.     int x_create_listbox (Dlg_head *h, widget_data parent, WListbox *l);
  36.     int x_create_buttonbar (Dlg_head *h, widget_data parent, WButtonBar *bb);
  37.     int x_create_gauge (Dlg_head *h, widget_data parent, WGauge *g);
  38.     int x_find_buttonbar_check (WButtonBar *bb, Widget *paneletc);
  39.     void x_list_insert (WListbox *l, WLEntry *p, WLEntry *e);
  40.     void x_redefine_label (WButtonBar *bb, int idx);
  41. #endif /* HAVE_XVIEW */
  42.  
  43. #endif /* __XVMAIN_H */
  44.